home *** CD-ROM | disk | FTP | other *** search
-
- PRO-SET
- An IBM Proprinter Configuration Utility
- Version 3.0 - February 21, 1986
-
- by Fred Willshaw
- 207 Oak Lane
- Cranford, NJ 07016
- CIS 73075,321
-
- PRO-SET is a utility program which may be used to send control strings to the
- IBM PROPRINTER, without the necessity of exiting the program you are currently
- using. It is distributed at no cost and may be freely copied and used.
- Should, however, you alter the program code in anyway it is forbidden to pass
- this program on to others. If you would like to see modifications to the
- current program please contact the author.
-
- I will attempt to keep the current version on the following Bulletin Boards in
- the New York/New Jersey area. The program will be named PROSETxx.ARC where xx
- will indicate the latest version number.
-
- Bulletin Board Telephone#
- ------------------ --------------
- The POLICE (201) 963-3115
- CFONJ (201) 486-2956
- The GOD'S (201) 277-6522
- Omegammon (201) 653-3893
- The BOSS (201) 568-7293
- Wolves Den (212) 874-6319
- Invention Factory (212) 431-1194
- Manhattan South (212) 432-7288
-
- You may either execute the program as a stand-alone DOS batch program or you
- may load it into resident memory. Both modes are accomplished by placing the
- desired parameter(s) after the program name, then executing the program. These
- optional parameters are:
-
- PRO-SET [R=x C=x V=x K=x S=x D=xyy]
-
- Where R=x indicates the type run you wish to perform, the two options are:
-
- "R" for Load into low memory and remain resident. The program
- may be accessed by depressing the Hot-Key/Control-Key
- combination you assigned, simultaneously. This is the default.
- "B" indicates that you want to run as a batch DOS job and not
- remain resident. You may also use this option even if the
- program is currently resident.
-
- Where C=x indicates the Color mode you wish to use, the two options are:
-
- "C" for use the IBM C/G Adapter colors. This is the default.
- "N" for no colors, the NO COLORS option is primarily for users
- of Amber and Green High Res monitors. Note that if you are
- using a Monochrome Adapter the program will automatically
- detect this.
-
- Where V=x is the Sound On/Off indicator for the program, the two options are:
-
- "Y" to get Sound warnings of input errors and invalid Drive/
- Path/File Names during the Font Load procedure. This is the
- default.
- "N" for no sound.
-
- Where K=xx indicates the Hot-Key to be used along with the Control-Key
- key(s) to activate the Memory Resident version. Enter the
- hexidecimal scan code value. A partial list is shown below:
-
- KEY SCAN KEY SCAN KEY SCAN KEY SCAN KEY SCAN
- ========= ========= ========= ========= =========
- A 1E G 22 L 26 Q 10 V 2F
- B 30 H 23 M 32 R 13 W 11
- C 2E I 17 N 31 S 1F X 2D
- D 20 J 24 O 18 T 14 Y 15
- E 12 K 25 P 19* U 16 Z 2C
- F 21 * = default
-
- Where S=xx indicates the Control-Key key(s) to be used along with the
- Hot-Key to activate the Memory Resident Version. Enter the
- hexidecimal total value from the following table, always enter
- as a two digit value:
-
- KEY VALUE TO ADD EXAMPLE (using the Default)
- =========== ============ ===========================
- Right Shift 01 CTRL 04
- Left Shift 02 ALT 08
- CTRL 04 ==
- ALT 08 Enter total --> 0C
-
- Where D=xyy indicates the physical location of the drive letter you are
- entering. This is used to allow you to set the internal drive
- configuration to reflect your system's configuration. The
- following table shows the default values, always enter the
- physical location as a two digit value:
-
- Drive Letter Drive Type Physical Location
- ============ ========== =================
- A Floppy 00
- B Floppy 01
- C Hard Disk 80
- D Hard Disk 81
- E Hard Disk 82
- F Hard Disk 83
- G Hard Disk 84
- H Hard Disk 85
- I Hard Disk 86
- J Hard Disk 87
-
- An example of using this parameter: You have three floppy drives
- A-C. In order to make floppy drive C recognizable by the program
- you would enter D=C02. In this example the internal drive table
- would be updated to search floppy drive 02H instead of hard disk
- drive 80H when you request data from drive C. This parameter is
- required since the program uses the BIOS Interrupt 13H instead of
- the DOS service interrupt 21H.
-
- Installing Pro-set
- ------------------
-
- In order to install the program, have PRO-SET.COM in the root library or a
- sub-directory in the PATH command. Then include the line PRO-SET, along with
- your parameter(s) in your AUTOEXEC.BAT file or issue the DOS command PRO-SET
- with your requested parameter(s).
-
- When loaded as memory resident , you may then gain access to the program from
- any other program by depressing the Hot-Key/Control-Key combination. The
- program will then intercept the keyboard interrupt (09H) and display the
- program menu.
-
- The Program Menu's
- ------------------
-
- The first line, [1] LPT1: -- 3:, is used to indicate which line printer port
- you want the control information send to. The default is LPT1:. If the port
- selected is not ready an error message will be displayed.
-
- OPTION COMMAND FUNCTION WHAT HAPPENS
- ------ -------------------- --------------------------------------------
- [A] Set Condensed Mode Sends <ESC> 15
- [B] Stop Condensed Mode Sends <ESC> 18
- [C] Set 12 CPI Sends <ESC> 58
- [D] Set Emphasized Mode Sends <ESC> 69
- [E] Stop Emphasized Mode Sends <ESC> 70
- [F] ONE Direction Print Sends <ESC> 85 01
- [G] TWO Direction Print Sends <ESC> 85 00
- [H] Set Double Wide Sends <ESC> 87 01
- [I] Stop Double Wide Sends <ESC> 87 00
- [J] Character Set 1 Sends <ESC> 55
- [K] Character Set 2 Sends <ESC> 54 02
- [L] Page Handler/Reset Displays sub-menu
-
- [A] Reset Printer Sends 24 Empty Buffer
- 18 Cancel Condensed/Set 10 CPI
- <ESC> 45 00 Cancel Underscore
- <ESC> 53 00 Cancel Auto Linefeed
- <ESC> 55 Select Character Set 1
- <ESC> 61 00 00 Clear Download Buffer
- <ESC> 65 12 6 Lines to Inch
- <ESC> 67 66 Set 66 Lines to Page
- <ESC> 67 00 11 Set to 11 Inches to Page
- <ESC> 70 Cancel Emphasized Print
- <ESC> 72 Cancel Doublestrike
- <ESC> 73 Standard Print Mode
- <ESC> 82 Cancel Tab Settings
- <ESC> 84 Cancel Sub/Superscript
- <ESC> 85 02 Set Bidirectional Print
- <ESC> 87 00 Cancel Double Wide Print
- <ESC> 95 00 Cancel Overscore
- [B] Set Top of Form Sends <ESC> 04
- [C] Form Length (Inches) Sends <ESC> 12 00 ## (Where ## is the value
- [D] Form Length (Lines) Sends <ESC> 12 ## is the value you entered)
-
- [M] 1/8" Spacing Sends <ESC> 48
- [N] 7/72" Spacing Sends <ESC> 49
- [O] Set Normal Quality Sends <ESC> 73 00
- [P] Set Normal Download Sends <ESC> 73 04
- [Q] Set NLQ Normal Sends <ESC> 73 02
- [R] Set NLQ Download Sends <ESC> 73 06
- [S] Set NLQ Doublestrike Sends <ESC> 71
- [T] Stop NLQ Doublestrike Sends <ESC> 72
- [U] Load a Font File Displays sub-menu
-
- [1] FONTGEN Created Indicates that file to be downloaded was
- created by the FONTGEN program.
- [2] IBM Format Indicates that file to be downloaded was
- created to appear as in the IBM Proprinter
- Manual page 4-30.
-
- The next sub-menu is then displayed with which you indicate the
- Drive/Path/Data Set Name of the file to be downloaded. After
- completion if this sub-menu the file is downloaded to the
- active printer.
-
- Depressing the appropriate key will send the character string and highlight
- the option in the menu. Depressing the <ESC> key will return you to the
- Original Program, Pro-Set Main Menu or DOS as appropriate.
-
- UPDATES/MODIFICATIONS/CORRECTIONS
- ---------------------------------
-
- Version 1.1 (01/07/86) - Added support for graphics modes 320X200 and
- 640X200. Note that this is determined by BIOS
- Interrupt 10H. Some programs do not properly
- set this value, i.e. 1-2-3 in Graphics mode.
- Since the configuration screen cannot fit in 40
- column modes, a beep will sound if you attempt
- to use the program in 40 column mode.
-
- Version 2.0 (01/21/86) - Added support for download fonts. Depressing
- option U will present a sub-menu requesting the
- download font file format. The first FONTGEN,
- is created using the FONTGEN utilities found
- on many Bulletin Boards. It is well worth the
- download to get a copy of this program series.
- The second file format is the IBM standard
- layout as described in the PROPRINTER Manual.
- Another sub-menu will be displayed requesting
- the location and name of the font file to be
- loaded.
- A new sub-menu has taken the place of TOP
- OF FORM. This is option L and will present a
- sub-menu offering TOP OF FORM, Form length in
- inches, Form length in lines and a Reset of the
- printer. The Reset is taken from the Technical
- Reference Manual and issues an interrupt 17H
- with AH set to a 1. This option does not seem
- to work on my Proprinter and as there is no
- discussion in the Proprinter Manual of such a
- feature, your helpful assistance is requested.
- When changing the LPTx: option the selected
- printer is now checked to ensure that it is
- online. If the printer is not available, i.e.,
- turned off or offline, the program will notify
- you when selecting the printer. However, if
- you are sending a command string and the printer
- is unavailable, the program will sit patiently
- and wait for you to turn on the device.
-
- Version 2.1 (01/27/86) - Moved save of current path, FCB and DTA to Font
- routine in order to speed up execution for
- non-font requests.
-
- Version 3.0 (02/21/86) - Added ability to run as a batch program. Allowed
- selection for color or black/white for users of
- amber/green high res screens. Rewrote documentation.
- Added screen to show how parameters are entered in
- the event they are incorrectly entered. Converted
- all DOS Interrupt (21H) calls to ROM BIOS calls
- as the DOS calls were destroying the DOS stack
- when called from a resident program. See the small
- print in the DOS manual ! Added ability to turn
- sound on and off. Fixed cursor mode on Monochrome.
- Added ability to select the Hot-Key Combination to
- activate the memory resident version. Gave ability
- to run as a DOS batch program. Changed Printer
- Reset routine to pass individual parameters. Added
- ability to set the internal drive table to specific
- configuration requirements.
-
-